
;; "y or n" instead of "yes or no"
(fset 'yes-or-no-p 'y-or-n-p)
 
;; Highlight regions and add special behaviors to regions.
;; "C-h d transient" for more info
(setq transient-mark-mode t)
 
;; Display line and column numbers
(setq line-number-mode    t)
(setq column-number-mode  t)
 
;; Emacs gurus don't need no stinking scroll bars
(toggle-scroll-bar -1)
 
;; Line-wrapping
(set-default 'fill-column 80)
 
;; Prevent the annoying beep on errors
(setq visible-bell t)

;; No backup
(setq-default make-backup-files nil)

;; Fullscreen
(require 'maxframe)
(add-hook 'window-setup-hook 'maximize-frame t)

;; Line number.
(require 'wb-line-number)
(wb-line-number-toggle)

;; Session for emacs
(require 'session)
(add-hook 'after-init-hook 'session-initialize)

;; cedt
(setq semantic-load-turn-useful-things-on t)
(load-file "~/.emacs.d/lisp/cedet/common/cedet.el")


(provide 'generic)